#define _CRT_SECURE_NO_WARNINGS

#include"ListNode.h"

int main()
{
	LTNode* phead = LTInit();
	/*LTPushBack(phead, 1);
	LTPushBack(phead, 2);
	LTPushBack(phead, 3);*/

	LTPushFront(phead, 300);
	LTPushFront(phead, 200);
	LTPushFront(phead, 100);

	LTNode*p=LTFind(phead, 300);

	LTInsert(phead, p, 10000);
	LTInsert(phead, p, 450);

	LTErase(phead, phead->next);
	LTErase(phead, phead->next);
	LTErase(phead, phead->next);
	LTErase(phead, phead->next);

	/*LTPopFront(phead);
	LTPopFront(phead);
	LTPopFront(phead);*/

	LTPrint(phead);
}